package com.aabte.weather.weartherdata.weather;


import com.aabte.weather.weather.api.dto.WeatherResponse;

public interface WeatherDataService {

    /**
     * 根据城市ID来查询天气数据
     *
     * @param cityId 城市ID
     * @return
     */
    WeatherResponse getDataByCityId(String cityId);

    /**
     * 根据城市名称来查询天气数据
     *
     * @param cityName 城市名称
     * @return
     */
    WeatherResponse getDataByCityName(String cityName);
}
